bool isAnagram(char* s, char* t) {
    int num_s = strlen(s);
    int num_t = strlen(t);
    int arr_s[26] = { 0 };
    int arr_t[26] = { 0 };
    int z = 0;
    if (num_s == num_t)
    {
        for (int i = 0; i < num_s; i++)
        {
            int t = s[i] - 97;
            arr_s[t] += 1;
        }
        for (int i = 0; i < num_t; i++)
        {
            int w = t[i] - 97;
            arr_t[w] += 1;
        }
        for (int i = 0; i < 26; i++)
        {
            if (arr_s[i] != arr_t[i])
            {
                return false;
            }

        }
        return true;
    }
    else {
        return false;
    }
    return -1;
}